<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<head>
<script type="text/javascript">
$(function()
{
  $(document).ready(function()
  {
    $.ajax({
      type: "GET",
      url: "./js/gujarathi.js",
      dataType: "script"
    }); 
    return false;
  });
});
</script>
<script>
$(document).ready(function(){
  $(".capital").keyup(function() {
    var val = $(this).val();
    $(this).val(val.toUpperCase());
  })
  $("textarea").keyup(function() {
    var val = $(this).val();
   $(this).val(val.toUpperCase());
 })
})
</script>
</head>
<table cellpadding="2" cellspacing="0" border="">
  <tr>
    <td colspan="2" style="background:#EBF5FF;">
  	  <input type="hidden" name="accountIdOld" value="{$accountId}">
      <h1 align="center"><font size="5px">Party Entry</font></h1>
    </td>
  </tr>
 <!--- <tr class="loanFont">
    <th align="right" nowrap >Take Image : &nbsp</th>
    <td>&nbsp<a href="webcam/web.html"> <font size="2px">Take Image</font></a></td>
  </tr>-->
  <tr class="loanFont">
		<br>
    <th align="right" nowrap >Party Name : &nbsp</th>
    <td>&nbsp<input type="text" class="capital" required=required  id="guj" name="accountName" size="24" value="{$accountName}"></td>
  </tr>
  <tr class="loanFont">
		<br>
    <th align="right" nowrap >Party Code : &nbsp</th>
    <td>&nbsp<input type="text" required=required  name="partyCode" size="24" {if $partyCode != ''} DISABLED {/if} value="{$partyCode}"></td>
  </tr>
  <tr class="loanFont">
    <th align="right" valign="top">Address : &nbsp</th>
    <td>&nbsp<textarea cols="19" id="address" class="capital" name="address" rows="6" >{$address}</textarea></td>
  </tr>
  <tr class="loanFont">
    <th align="right">Mobile : &nbsp</th>
    <td>&nbsp<input type="text" name="mobile" id="mobile" value="{$mobile}" size="24"></td>
  </tr>
  <tr class="loanFont">
    <th align="right" valign="top" nowrap >Party Image : &nbsp</th>
    <td>
      &nbsp{if isset({$selectPartyRow.partyId})}<img src="partyUplodeadImages/{$photo}" width="80px" height="80px">{/if}
      <input type="file" name="photo" id="file" >
    </td>
  </tr>
  <tr class="loanFont">
    <th align="right" class="capital" valign="top" nowrap >Other Information : &nbsp</th>
    <td>
      &nbsp<textarea cols="19" id="otherInfo" name="otherInfo" rows="6">{$otherInfo}</textarea>  	
    </td>
  </tr>
</table>

